package cn.pku.ss.sirx.sna.ib.bean;

import java.util.Iterator;

import cn.pku.ss.sirx.sna.ib.MessageBoardIterator;

/**
 * Abstract of www.xiaonei.com.
 * Support some methods for getting various information.
 *
 * @author SirX
 * @version 1.0
 */
public class XiaoneiSite implements Iterable<MessageBoard> {
    
    public static XiaoneiSite getInstance() {
        return instance;
    }

    @Override
    public Iterator<MessageBoard> iterator() {
        return new MessageBoardIterator();
    }
    
    private XiaoneiSite() {}
    
    private static XiaoneiSite instance = new XiaoneiSite();
    
}
